Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #12, Comment update to correct for microseconds not always rounding up + a… #406

Merged
merged 1 commit into from
Apr 21, 2020

Conversation

dmknutsen
Copy link
Contributor

Describe the contribution
Fixes #12 , Microsecond round up code doesn't round up.
Updated comments in ostimer.c to reflect what the code is actually doing.
Added debug message if microsecs per sec value does not equal 1000000.

Testing performed
Ran unit tests.

System(s) tested on
Oracle VM VirtualBox
OS: ubuntu-19.10
Versions: cFE 6.7.11.0, OSAL 5.0.9.0, PSP 1.4.7.0

Contributor Info
Dan Knutsen
NASA/Goddard

Copy link
Contributor

@jphickey jphickey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nitpicks....

src/os/shared/osapi-common.c Outdated Show resolved Hide resolved
@dmknutsen dmknutsen force-pushed the issue_12 branch 2 times, most recently from 4c5c9a0 to 6b88ad5 Compare April 6, 2020 19:36
@dmknutsen dmknutsen requested a review from jphickey April 6, 2020 19:42
@skliper
Copy link
Contributor

skliper commented Apr 6, 2020

Likely will require an update to the coverage testing, can handle with this pull request or open a new issue to address it. Also sounds more like a "warning" than "error"?

@skliper skliper added the CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) label Apr 9, 2020
@astrogeco astrogeco changed the title Comment update to correct for microseconds not always rounding up + a… Fix #12, Comment update to correct for microseconds not always rounding up + a… Apr 14, 2020
@skliper
Copy link
Contributor

skliper commented Apr 15, 2020

CCB 20200415 - APPROVED

@astrogeco astrogeco added CCB:Approved Indicates code review and approval by community CCB and removed CCB:Ready Pull request is ready for discussion at the Configuration Control Board (CCB) labels Apr 20, 2020
@astrogeco
Copy link
Contributor

@jphickey were your requested changes addressed?

@jphickey
Copy link
Contributor

Yes, this looks fine now.

@skliper
Copy link
Contributor

skliper commented Apr 20, 2020

Fix commit message?

@dmknutsen
Copy link
Contributor Author

Sure thing...what do you want me to change it to?

@skliper
Copy link
Contributor

skliper commented Apr 20, 2020

Fix #12, Add tick to microsec rounding warning, update comments

@astrogeco astrogeco changed the base branch from master to integration-candidate April 21, 2020 22:11
@astrogeco astrogeco merged commit 229af74 into nasa:integration-candidate Apr 21, 2020
@skliper skliper added this to the 5.1.0 milestone Jun 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CCB:Approved Indicates code review and approval by community CCB
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Microsecond round up code doesn't round up.
4 participants